<?php
/**
 * Teacher review
 * 
 * @package IGS
 */

action_gatekeeper('review');
$star_url = elgg_normalize_url('mod/groups/graphics/star.png');
?>
<div>
	<div class="left">
	<label><?php echo elgg_echo("groups:review:rate"); ?>&nbsp &nbsp</label>
	</div>
	<div class="left">
	<?php 


        echo elgg_view('input/star', array(
            'name' => "rate",
        ));
	?>
<!-- 	<span class="rating"> -->
<!-- 	    <input type="radio" class="rating-input" -->
<!-- 	        id="rating-input-1-5" value="5" name="rating-input-1"> -->
<!-- 	    <label for="rating-input-1-5" class="rating-star"></label> -->
<!-- 	    <input type="radio" class="rating-input" -->
<!-- 	        id="rating-input-1-4" value="4" name="rating-input-1"> -->
<!-- 	    <label for="rating-input-1-4" class="rating-star"></label> -->
<!-- 	    <input type="radio" class="rating-input" -->
<!-- 	        id="rating-input-1-3" checked value="3" name="rating-input-1"> -->
<!-- 	    <label for="rating-input-1-3" class="rating-star"></label> -->
<!-- 	    <input type="radio"  class="rating-input" -->
<!-- 	        id="rating-input-1-2" value="2" name="rating-input-1"> -->
<!-- 	    <label for="rating-input-1-2" class="rating-star"></label> -->
<!-- 	    <input type="radio" class="rating-input" -->
<!-- 	        id="rating-input-1-1" value="1" name="rating-input-1"> -->
<!-- 	    <label for="rating-input-1-1" class="rating-star"></label> -->
<!-- 	</span> -->
	</div>
	<div style="clear: both;"></div>
</div></br>

<div>
	<label><?php echo elgg_echo("groups:review:title"); ?></label><br />
	<?php
	
	echo elgg_view ( "input/text", array (
			'name' => 'title',
			'value' => "" 
	) );
	?>
</div>
<div>
	<?php
	echo '<label>';
	echo elgg_echo ( "groups:review:infor_review" );
	echo "</label>";
	echo elgg_view ( "input/longtext", array (
			'name' => "description",
			'value' => "" 
	) );
	?>
</div>

<div class="elgg-foot">
<?php

if (isset ( $vars )) {
	echo elgg_view ( 'input/hidden', array (
			'name' => 'group_guid',
			'value' => $vars ['guid']
	) );
}

echo elgg_view ( 'input/submit', array (
		'value' => elgg_echo ( 'groups:button:save' ) 
) );
?>
</div>
